Methods for identifying video segments and displaying contextually targeted content on a connected television

ABSTRACT

Systems and methods for identifying which video segment is being displayed on a screen of a television system. The video segment is identified by deriving date from the television signals, the derived data being indicative of the video segment being displayed on file screen. This feature can be used to extract a viewer&#39;s reaction (such as changing the channel) to a specific video segment (such as an advertisement) and reporting the extracted information as metrics. The systems and methods may further provide contextually targeted content to the television system. The contextual targeting is based on not only identification of the video segment being displayed, hut also a determination concerning the playing time or offset time of the particular portion of the video segment being currently displayed.

RELATED PATENT APPLICATIONS

The present application is related to and/or claims the benefits of the earliest effective priority date and/or the earliest effective filing date of the below-referenced applications, each of which is hereby incorporated by reference in its entirety, to the extent such subject matter is not inconsistent herewith, as if fully set forth herein:

(1) this application constitutes a continuation of U.S. patent application Ser. No. 12/788,721, entitled METHODS FOR IDENTIFYING VIDEO SEGMENTS AND DISPLAYING CONTEXTUALLY TARGETED CONTENT ON A CONNECTED TELEVISION, naming Zeev Neumeier and Edo Liberty as inventors, filed May 27, 2010, now issued as U.S. Pat. No. 8,595,781 on Nov. 26, 2013, which is currently co-pending or is an application of which a currently co-pending application is entitled to the benefit of the filing date;

(2) this application constitutes a continuation-in-part of U.S. patent application Ser. No. 12/788,748, entitled METHODS FOR DISPLAYING CONTEXTUALLY TARGETED CONTENT ON A CONNECTED TELEVISION, naming Zeev Neumeier and Edo Liberty as inventors, filed May 27, 2010, now issued as U.S. Pat. No. 8,769,584 on Jul. 1, 2014, which is currently co-pending or is an application of which a currently co-pending application is entitled to the benefit of the filing date;

(3) this application constitutes a continuation of U.S. patent application Ser. No. 14/089,003, entitled METHODS FOR IDENTIFYING VIDEO SEGMENTS AND DISPLAYING CONTEXTUALLY TARGETED CONTENT ON A CONNECTED TELEVISION, naming Zeev Neumeier and Edo Liberty as inventors, filed Nov. 25, 2013, which is currently co-pending or is an application of which a currently co-pending application is entitled to the benefit of the filing date;

(4) this application constitutes a continuation-in-part of U.S. patent application Ser. No. 14/217,039, entitled SYSTEMS AND METHODS FOR ADDRESSING A MEDIA DATABASE USING DISTANCE ASSOCIATIVE HASHING, naming Zeev Neumeier and Brian Reed as inventors, filed Mar. 17, 2014, which is currently co-pending or is an application of which a currently co-pending application is entitled to the benefit of the filing date;

(5) this application constitutes a continuation-in-part of U.S. patent application Ser. No. 14/217,075, entitled SYSTEMS AND METHODS FOR IDENTIFYING VIDEO SEGMENTS FOR DISPLAYING CONTEXTUALLY RELEVANT CONTENT, naming Zeev Neumeier, Brian Reed, Michael Collette, and W. Leo Hoarty as inventors, filed Mar. 17, 2014, which is currently co-pending or is an application of which a currently co-pending application is entitled to the benefit of the filing date;

(6) this application constitutes a continuation-in-part of U.S. patent application Ser. No. 14/217,094, entitled SYSTEMS AND METHODS FOR REAL-TIME TELEVISION AD DETECTION USING AN AUTOMATED CONTENT RECOGNITION DATABASE, naming Zeev Neumeier and Brian Reed as inventors, filed Mar. 17, 2014, which is currently co-pending or is an application of which a currently co-pending application is entitled to the benefit of the filing date;

(7) this application constitutes a continuation-in-part of U.S. patent application Ser. No. 14/217,375, entitled SYSTEMS AND METHODS FOR ON-SCREEN GRAPHICS DETECTION, naming Zeev Neumeier and Michael Collette as inventors, filed Mar. 17, 2014, which is currently co-pending or is an application of which a currently co-pending application is entitled to the benefit of the filing date;

(8) this application constitutes a continuation-in-part of U.S. patent application Ser. No. 14/217,425, entitled SYSTEMS AND METHODS FOR IMPROVING SERVER AND CLIENT PERFORMANCE IN FINGERPRINT ACR SYSTEMS, naming Zeev Neumeier and Brian Reed as inventors, filed Mar. 17, 2014, which is currently co-pending or is an application of which a currently co-pending application is entitled to the benefit of the filing date;

(9) this application constitutes a continuation-in-part of U.S. patent application Ser. No. 14/217,435, entitled SYSTEMS AND METHODS FOR MULTI-BROADCAST DIFFERENTIATION, naming Zeev Neumeier and Michael Collette as inventors, filed Mar. 17, 2014, which is currently co-pending or is an application of which a currently co-pending application is entitled to the benefit of the filing date;

(10) this application claims the benefit, as do each of the previously-listed non-provisional utility applications, under Title 35, United States Code, § 119(e), of U.S. Provisional Application No. 61/182,334, entitled SYSTEM FOR PROCESSING CONTENT INFORMATION IN A TELEVIDEO SIGNAL, naming Zeev Neumeier as the inventor, filed May 29, 2009;

(11) this application claims the benefit, as do each of the previously-listed non-provisional utility applications, under Title 35, United States Code, § 119(e), of U.S. Provisional Application No. 61/290,714, entitled CONTEXTUAL TARGETING BASED ON DATA RECEIVED FROM A TELEVISION SYSTEM, naming Zeev Neumeier and Edo Liberty as inventors, filed Dec. 29, 2009; and

(12) this application claims the benefit, as do certain of the non-provisional utility applications listed above, under Title 35, United States Code, § 119(e), of U.S. Provisional Application No. 61/791,578, entitled SYSTEMS AND METHODS FOR IDENTIFYING VIDEO SEGMENTS BEING DISPLAYED ON REMOTELY LOCATED TELEVISIONS, naming Zeev Neumeier, Edo Liberty, J. Michael Collette Jr., and W. Leo Hoarty as inventors, filed Mar. 15, 2013.

BACKGROUND

This invention generally relates to systems and methods for identifying video segments being displayed on a screen of a television system, and to systems and methods for providing contextually targeted content to television systems based on such video segment identification. As used herein, the term “television systems” includes, but is not limited to, televisions such as web TVs and connected TVs and equipment collocated with or incorporated in the television, such as a set-top box (STB), a DVD player or a digital video recorder (DVR). As used herein, the term “television signals” includes signals representing video and audio data which are broadcast together (with or without metadata) to provide the picture and sound components of a television program or commercial. As used herein, the term “metadata” means data about or relating to the video/audio data in television signals.

Recent advancements in fiber optic and digital transmission technology have enabled the television industry to increase channel capacity and provide some degree of interactive television service. This advancement is due in large part to the industry combining the processing power of a computer in the form of a STB and the large information-carrying capacity of cables. Such STBs have successfully been used by the television industry to provide both a greater selection of channels and some degree of interactivity.

The technology of interactive Television (ITV) has been developed in an attempt to allow a television (TV) set to serve as a two-way Information distribution mechanism. Features of an ITV accommodate a variety of marketing, entertainment, and educational capabilities such as allowing a user to order an advertised product or service, compete against contestants in a game show, and the like. Typically, the interactive functionality is controlled by an STB which executes an interactive program written for the TV broadcast. The interactive functionality is often displayed on the TVs screen and may include icons or menus to allow a user to make selections via the TV's remote control or a keyboard.

In accordance with one known technique, the interactive content can be incorporated into the broadcast stream (also referred to herein as the “channel/network feed”), in the present disclosure, the term “broadcast stream” refers to the broadcast signal (analog or digital) received by a television, regardless of the method of transmission of that signal, e.g., by antenna, satellite, cable, or any other method of analog or digital signal transmission. One known method of transparently incorporating interactive content into a broadcast steam is the insertion of triggers into the broadcast steam for a particular program. Program content in which such triggers have been inserted is sometimes referred to as enhanced program content or as an enhanced TV program or video signal. Triggers may be used to alert an STB that interactive content is available. The trigger may contain information about available content as well as the memory location of the content. A trigger may also contain user-perceptible text that is displayed on the screen, for example, at the bottom of the screen, which may prompt the user to perform some action or choose amongst a plurality of options.

Connected TVs are TVs that are connected to the Internet via the viewer's home network (wired or wireless), interactive web-type applications run on these TVs. There are several competing connected TV platforms. Yahoo is the most prominent one (see http://connectedtv.yahoo.com/). The basic common features of such connected TV platforms are: (1) a connection to the Internet; and (2) the ability to run software on top of the TV display. Several TVs with this support are already in the market (e.g., LG, Samsung and Vizio have models out). Many more will enter the market in the near future. Industry observers expect all new TVs to have these features within a few years.

Connected TVs can run an application platform such as the Yahoo widget engine. Flash Lite (see http://www.adobe.com/products/flashlite/), Google Android, or proprietary platforms. A developer community builds widgets to run on this platform. A widget is an element of a graphical user interface that displays an information arrangement changeable by the user, such as a window or text box. A widget engine is an operating system on which widgets run. As used herein, the term “widget” refers to code that runs on a widget engine. Each widget runs its own system process, so that one widget can be shutdown without affecting other widgets. The widget engine may include a feature called a “dock”, which shows a respective icon for each available widget. TV widgets allow a television viewer to interact with the television, e.g., by requesting additional information relating to the subject matter being viewed, without switching the viewer's context from watching a television program to entering an application, in response to such a request, the requested information is displayed as part of the visual representation of the widget on the television screen.

Currently virtually all TVs (connected or otherwise) do not have any metadata on what the viewer is watching. While some information is available in bits and pieces in the content distribution pipeline, by the time a show reaches the screen, ail Information other then video and audio has been lost. In particular, the TV does not know what channel or show the viewer is watching, nor what the show is about. (The channel and show information a person sees on his/her screen is grafted on the STB from sometimes incomplete information.) This barrier is the result of the fundamental structure of the TV content distribution industry. This is a severe issue for interactive TVs since if limits their scope to strictly pull functionality.

There is a need for improvements in systems and methods for identifying what video segment is being viewed on a television. There is also a need for improvements in systems and methods of providing contextually targeted content to a connected television system.

BRIEF SUMMARY

The present invention is directed to systems and methods for identifying which video segment is being displayed on a screen of a television system. In particular, the resulting data identifying the video segment being viewed can be used to extract a viewers reaction (such as changing the channel) to a specific video segment (such as an advertisement) and reporting the extracted information as metrics.

In accordance with some embodiments, the video segment is identified by sampling a subset of the pixel data being displayed on the screen (or associated audio data) and then finding similar pixel (or audio) data in a content database. In accordance with other embodiments, the video segment is identified by extracting audio or image data associated with such video segment and then finding similar audio or image data in a content database. In accordance with alternative embodiments, the video segment is identified by processing the audio data associated with such video segment using known automated speech recognition techniques. In accordance with further alternative embodiments, the video segment is identified by processing metadata associated with such video segment.

The invention is further directed to systems and methods for providing contextually targeted content to an interactive television system. The contextual targeting is based on not only identification of the video segment being displayed, but also a extermination concerning the playing time or offset time of the particular portion of the video segment being currently displayed. The terms “playing time” and “offset time” will be used interchangeably herein and refer to a time which is offset from a fixed point in time, such as the starting time of a particular television program or commercial.

More specifically, the invention comprises technology that can detect what is playing on a connected TV, deduce the subject matter of what is being played, and Interact with the viewer accordingly. In particular, the technology disclosed herein overcomes the limited ability of interactive TVs to strictly pull functionality from a server via the internet, thereby opening up business models such as: (1) applications that deepen viewers' engagement with shows being watched by providing additional content (director commentary, character biographies, etc.); (2) applications that provide “buy now” functionality based on specific content (product placement, “buy this song” functionality, etc.); and (3) applications that provide viewers access to web-style promotional features (games, contests, etc.).

In accordance with some embodiments, the video segment is identified and the offset time is determined by sampling a subset of the pixel data (or associated audio data) being displayed on the screen and then finding similar pixel (or audio) data in a content database. In accordance with other embodiments, the video segment is identified and the offset time is determined by extracting audio or image data associated with such video segment and then finding similar audio or image data in a content database. In accordance with alternative embodiments, the video segment is identified and the offset time is determined by processing the audio data associated with such video segment using known automated speech recognition techniques. In accordance with further alternative embodiments, the video segment is identified and the offset time is determined by processing metadata associated with such video segment.

As will be described in more detail below, the software for identifying video segments being viewed on a connected TV and, optionally, determining offset times can reside on the television system of which the connected TV is a component. In accordance with alternative embodiments, one part of the software for identifying video segments resides on the television system end another part resides on a server connected to the television system via the internet.

Other aspects of the invention are disclosed and claimed below.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram of a connected television in accordance with one embodiment of the invention.

FIGS. 2-4 are drawings showing respective exemplary widgets which can be displayed on a connected TV in response to defection of a video segment that is related by subject matter.

FIG. 5 is a drawing showing an exemplary pop-up window which appears when an associated field, displayed on the widget depicted in FIG. 4, is clicked on.

FIGS. 8-10 are block diagrams showing systems in accordance with further embodiments of the invention.

FIGS. 11 through 16 are graphs referenced in the Appendix, in which an algorithm for tracking video transmission using ambiguous cues is disclosed.

Reference will hereinafter be made to the drawings in which similar elements in different drawings bear the same reference numerals.

DETAILED DESCRIPTION

In accordance with a first embodiment of the invention shown in FIG. 1, a system 100 includes a connected television (TV) 10. The connected TV 10 is connected to a global computer network 20, typically through a processor 12. Although the processor 12 has been depicted as being external to the connected TV 10, the person skilled in the art will appreciate that the processor 12 can be located internal to the TV. As used herein, the term “global computer network” includes the internet. Although FIG. 1 does not show a source of television signals, it should be understood that the connected TV 10 receives a television signal that carries a program stream.

A content widget, which runs on the processor 12, includes computer software for identifying in real time which video segment is being displayed on the connected TV 10. Optionally, the content widget may further include computer software for determining what is the time offset from the starting time of the segment. The segment and offset together are referred to herein as the “location”. In response to identifying the video segment being viewed and, optionally, determining the time offset, the widget presents the TV viewer with a widget in the form of pop-up window 110 that shows categories relating to the subjects most relevant to the video segment being viewed. From this window 110 the viewer can select one of the subjects and, based on the viewer's selection, the widget software running on the processor 12 will retrieve more information about the selected subject from the global computer network 20. This may be done, for example, by entering the selected subject into a search engine, an on-line encyclopedia or a custom search algorithm. This may also be done by entering the location into a custom algorithm that displays pre-scripted content based on show and location.

Content detection may be done in one of several ways. In one embodiment, the widget examines metadata provided with the program stream that sets forth the main subjects being discussed in the program stream. For example, the widget examines closed captioning data sent with the television signal. In another embodiment the widget employs speech recognition software and maintains a table that counts the number of times the detected words are used over a period of time. In yet another embodiment, the widget can employ audio signature detection or image recognition software to identify the displayed images in the program stream. In yet other embodiments the widget sends cues from the video or audio to a server where detection and contextual targeting is done (One embodiment of suitable video pixel cue processing software will be described in detail later with reference to FIG. 10.) The relevance of a subject can be determined in a number of ways.

In response to identifying the video segment being viewed and, optionally, determining the time offset, the TV widget retrieves additional information which is targeted as being relevant to the context of the subject matter of the video segment being viewed. The process of retrieving additional information or an advertisement which is targeted as being relevant to the context of the subject matter of the video segment being viewed will be referred to hereinafter as “contextual targeting.” A contextual targeting TV widget will now be described with reference to FIGS. 2-5.

The contextual targeting TV widget is software that runs on top of the connected TV 10. This software extracts information sufficient to identify what the viewer is currently watching, and then, based on the extracted information, targets additional Information on subjects that are likely to be of interest to the viewer. This additional information is displayed on the screen on top of the program being displayed on the TV screen. The additional information comes over the network (usually the Internet) from a feed or an Internet conglomeration fool (e.g., Wikipedia or Google). Some of this information is served to the user as free value added while some of if is paid for as advertisement or promotional deals.

To demonstrate the viewer experience provided by the systems disclosed herein, several scenarios mill now be described.

In accordance with a first scenario depicted in FIG. 2, the system achieves a regular integration by picking up a keyword and targeting general information and ad words. In this first scenario, the viewer is watching a popular show such as Gossip Girl. At one juncture during viewing of that show, the characters are talking about going to the Hamptons for the summer. The contextual targeting TV widget defects the keyword “Hamptons”. In response to detection of that keyword, the widget dock flashes or highlights the new keyword, as indicated by the light shading in FIG. 2. If the viewer has the widget dock open (i.e., they are interested in interacting with widgets), then the viewer can expand the widget. If not, the keyword is saved in case the viewer wants to see it later. The TV viewer can always scroll the last N keywords, where N is an integer, e.g., 50. When the viewer sees something he/she is interested in, the viewer clicks on highlighted keyword and the widget expands into a sidebar mode. The TV show continues to run in the background. The expanded widget, as seen in FIG. 2, now shows targeted information about the Hamptons, such as: (1) a short description on what the Hamptons are: “The Hamptons are a popular seaside resort. Parts of the Hamptons are a playground for the rich who own summer homes there; they also serve as a summer colony . . . ”; and (2) a Google map of where the Hamptons are located. The expanded widget in this example may also show some news results about the Hamptons, such as: “Despite her rep's claim that a pesky paparazzo was to blame for Madonna's weekend fall from a horse in the Hamptons, the officers who responded to the scene . . . ”. In response to the viewer clicking on other displayed fields, the expanded widget can also show targeted advertisements relating to, e.g., real estate in the Hamptons; travel to NYC; and vacation packages to other warm beach destinations where rich people congregate like they do in the Hamptons.

In accordance with a second scenario depicted in FIG. 3, the system achieves a more complex integration by picking up a popular keyword and leveraging relationships with one-click retailers such as Amazon and promotional campaigns. In this second scenario, the viewer is watching a current events show such as Entertainment Tonight or the Daily Show. During the show, someone talks about something done by a public figure, for example, Britney Spears. The contextual targeting TV widget picks up the keywords “Britney Spears”, in response to detection of those keywords, the widget dock flashes or highlights the new keywords, as indicated by the light shading in FIG. 3. If the viewer has the widget dock open, then the widget sidebar will show targeted information, such as: (1) a quick biography of Britney Spears: “Britney Jean Spears (born Dec. 2, 1981) is an American singer and entertainer. Spears is ranked as the eighth best-selling female recording artist in . . . ”; (2) recent albums with “Buy Now” buttons: 1999: . . . Baby One More Time; 2000: Oops! . . . I Did It Again; 2001: Britney; 2003: In the Zone; 2007: Blackout; and 2008: Circus; (3) some news results about Britney Spears (taking into consideration the proximity of the earlier “Hamptons” keyword if applicable); (4) a link to images or You Tube search results for Britney Spears pictures or music videos; and (5) a promotional advertisement for Britney Spears' latest concert with an interactive calendar for shows in the viewer's geographical area and a “Buy Now” button. When the viewer clicks on a “Buy Now” button, a screen is opened to complete the transaction with as few steps as possible (e.g., using an Amazon ID/password combination). After the first time, a viewer can make a purchase without the need to re-enter his/her personal information.

In accordance with a third scenario depicted in FIG. 4, the system achieves a customized integration by picking up keywords or specific video/audio segments purchased by specific partners for rich media promotional campaigns. In this third scenario, the viewer is watching an advertisement; for example, a car commercial in this example, the advertisement presents the viewer with a call to anion to activate their widget desk to “Continue The Story”. The contextual targeting widget picks up the advertisement by a predefined marker or phrase and gives it preference over other events for a specified amount of time. The widget sidebar shows a micro-site that gives the user incentives to deepen the experience with the brand, such as: additional webasodes expanding characters or themes from the advertisement; additional information such as specs or feature comparisons; and interactive features such as games, sweepstakes or customization tools. For example, in response to the viewer clicking on the field “Drive a MINI with Jason Bourne”, The Bourne Conspiracy-MINI microsite (shown in FIG. 5) is displayed.

In accordance with some embodiments, the video segment is identified and the offset time is determined by sampling a subset of the pixel data being displayed on the screen (of associated audio data) and then finding similar pixel (or audio) data in a content database. In accordance with other embodiments, the video segment is identified and the offset time is determined by extracting audio or image date associated with such video segment and then finding similar audio or image data in a content database. In accordance with alternative embodiments, the video segment is identified and the offset time is determined by processing the audio data associated with such video segment using known automated speech recognition techniques. In accordance with further alternative embodiments, the video segment is identified and the offset time is determined by processing metadata associated with such video segment.

In accordance with further embodiments, the offset time need not be determined and the system simply reacts to the presence of key words or phrases. For example, in accordance with one version of software that could run on the processor 12 seen in FIG. 1, there would be four basic software modules: (1) a metadata gathering module which gathers metadata on whatever is being viewed on the TV; (2) a subject/keyword extraction module which analyzes the gathered metadata and extracts what the program “is about”; (3) a contextual targeting of useful information module which gathers and presents additional information to the user based on the extracted subject/keywords extracted above; and (4) a contextual targeting of advertisements module which gathers and presents revenue-creating information to the user based on the extracted subject/keyword's extracted (this would include “buy now” buttons as well as keyword ads, and promotional campaigns).

There are many possible sources of metadata on what the viewer is watching including; (1) program information provided by the networks/stations or a third party (e.g., TV Guide); (2) closed captioning feeds; (3) an audio feed of the program being watched (run through speech recognition); (4) a video feed of the program being watched (run through image recognition); (5) additional channels riding on fop of the audio or video feed of the program being watched; and (6) custom content manually attributed to specific programs and sections within a program.

In accordance with one specific embodiment the processor 12 gathers metadata from a combination of the audio feed of the program being watched and closed captioning information when available. The audio stream will be processed by a speech recognition engine for key-phrase extraction. A Dictionary and Language Model for the speech recognition algorithm will be carefully maintained to efficiently extract only those key words or phrases deemed to be worthy of targeting. For example, the dictionary will be weighted to look for proper nouns like “Britney Spears” or “The Yankees” and will be discouraged from recognizing adjectives like “green” or “hot”. In the case of closed captioning data, the stream (this time a text stream) will be processed by a key-phrase/subject analysis engine.

Four possible setups for the metadata gathering components will now be described. In the embodiment shown in FIG. 6, the data processing needed for metadata gathering and for contextual targeting are performed on a centrally located server connected to a remotely located TV via a wide area network, e.g., the Internet. In the embodiment shown in FIG. 7, the data processing needed for metadata gathering is performed on the TV, while the data processing needed for contextual targeting is performed on a centrally located server connected to a remotely located TV via a wide area network. In the embodiment shown in FIG. 8, the data processing needed for contextual targeting is performed on a centrally located server connected to a remotely located TV via a wide area network, while the data processing needed for metadata gathering is performed on an offline server that is connected to the contextual targeting server by, e.g., a local area network. Note that in this embodiment the TV client 18 sends the Channel Recognition component 26 on the server cues to determine which program is being watched and therefore which metadata is applicable to this TV. Also note that while FIG. 8 shows using the audio stream as the input to the TV client 18, a video input is applicable in the same way. Alternatively, a hybrid solution, combining the foregoing approaches, is possible.

Referring to FIG. 8, a system 200 comprises a remotely located television 10 connected to a centrally located server 220 via a wide area network (not shown). The television 10 comprises a multi-pixel screen, a processor and a port for receiving television signals. The processor of the television is programmed with software comprising a widget platform or engine 14 and a TV client 18 that communicates with the server 220. Any one of a multiplicity of widgets 16 can be displayed on the TV screen by the widget engine. The server 220 has one or more processors and software including a speech recognition module 22 and a contextual targeting module 24. In this embodiment, the client 18 receives the audio stream of the television program or show being viewed, compresses that audio steam and then sends that compressed audio stream to the server 220. The information sent to the server 220 by the TV client 18 may also include a captioning stream (if available) or other metadata and/or channel information. The speech recognition module 22 processes that compressed audio stream to determine which channel is being watched.

In the setup shown in FIG. 6, a lightweight client will be built for the TV operating system (usually Linux) which will capture the audio stream from the TV 10, compress the signal, and stream it over the network to the waiting server 220. This stream has a token attached to it so that the server can associate the stream with a particular user and/or TV. The server may then run a real-time speech recognition algorithm 22 on the stream, or a targeting search on the captioning data, and extract keywords/phrases. There are several suitable packages that perform speech recognition. One example is an open source package called Sphinx-4 (http://cmusphinx.sourceforge.net/sphinx4/), which is a speech recognizer written entirely in the Java™ programming language. These keywords/phrases will be attached to the user/TV in question and used by the contextual targeting module 24 to deliver content (e.g., content from a third-party content feed) to the widget 16. The server 220 stores user information, such as the TV ID, shows or programs viewed on that TV, and selections made using the widget 16 displayed on that TV, in a persistent user database 30.

Referring now to FIG. 7, a system 300 comprises a remotely located television 10 connected to a centrally located server 320 via a wide area network (not shown). In this setup a heavier (yet still mostly lightweight) client 18 will be built for the TV operating system which will capture metadata (including captioning data) or if will capture the audio stream from the TV, run a more limited algorithm to determine relevant subjects, and send the server 320 only the keywords/phrases extracted. In one embodiment, a speech recognition client 18 would look to the server 320 to periodically update its Dictionary and Language Model. There are several packages that provide lightweight speech recognition for mobile and embedded devices (which the TV is similar to since it does not have a powerful CPU). A good example is the mobile version of the aforementioned open source Sphinx-4 package called PocketSphinx (http://cmusphinx.sourceforge.net/html/compare.php). The keywords/phrases will be attached to the user/TV in question and used by the contextual targeting module 24 to deliver content (e.g., content from a third-party content feed) to the widget 16. Again the server 320 stores user information, such as the TV ID, shows or programs viewed on that TV, and selections made using the widget 16 displayed on that TV, in a persistent user database 30.

Referring now to FIG. 8, a system 400 comprises a remotely located television 10 connected to a centrally located server 420 via a wide area network (not shown) and one or more offline servers 410 connected to the server 420 via a local area network (not shown). The server 420 has software comprising a contextual targeting module 24 and a channel recognition module 26. In the setup shown in FIG. 8, the offline servers 410 continually receive feeds corresponding to a set of TV channels, run a heavier more powerful algorithm, and tag each channel with metadata. A lightweight TV client 18 (part of the TV operating system) sends just enough information to the server 420 to enable the latter to identify the channel being viewed. FIG. 8 shows that the TV client receives the audio stream of the television program being viewed and then extracts audio data to be sent to the server 420, so that the latter can identify the channel being viewed by, e.g., detecting audio signatures. Alternatively, the TV client 18 may send pixel or audio cues (consisting of batches of pixel or audio data samples) to the server 420, and the server 420 may identify the channel being viewed by processing ambiguous pixel or audio cues using the technique disclosed in the Appendix hereto. For example, the TV client 18 may send pixel cues to the server 420, in which case the channel recognition module 26 would comprise suitable video pixel cue processing software of the type described later with reference to FIG. 10. In accordance with yet another alternative embodiment, the TV client 18 may receive the video stream and extract image data to be sent to the server 420, so that the channel recognition module 26 can identify the channel being viewed using image recognition software.

Based on the information received from the TV client, the server 420 can readily identify the video segment being viewed and the offset time from the start of the program. The online server 420 will match the channel the viewer is watching with one that is being tagged by the offline servers 410 and feed the contextual targeting module 24 with the appropriate keywords/phrases previously provided by the offline server. These keywords/phrases will be attached to the user/TV in question and used by the contextual targeting module 24 to deliver content (e.g., content from a third-party content feed) to the widget 16. The offline servers need not operate in real-time. Metadata (including the aforementioned keywords/phrases) can be loaded into the memory of server 420 by the offline servers periodically, e.g., hourly or daily. In addition, despite the feet that the offline server 410 is collecting a live network feed, viewers may be watching the same content delayed by several hours or even days. The online server 420 will match a channel and a respective time index into that channel for programs that are live as well as in the past. The offline server 410 and the channel recognition module 26 are configured to keep programs cues and metadata for a specified period of time (usually days or weeks).

Still referring to FIG. 8, another setup can be that in addition to (or instead of) the network feed to the offline server 410, a batch feed of programs is loaded into the offline server 410 at regular intervals. Since the offline server 410 keeps cues and metadata for a specified period of time, this setup forms a library of program cues and metadata that is particularly useful to viewers that are watching content on DVRs or DVDs. Note that programs may be loaded by a batch feed that are not available in the network feed.

In accordance with a further aspect of the invention, a hybrid solution is possible. One reasonable setup would have to be a hybrid solution mat would use each of the above approaches where they best fit. Since there are many possible TV configurations, no one solution will be ideal for all viewers. For those viewers where the channel/network data is available (for example, when a user is watching TV over the air or has downloaded/streamed the content from an On-Demand service) or where the audio feed can be recognized as a known channel, the offline computation approach (shown in FIG. 8) would be preferred. For those cases where bandwidth is not available to stream the audio, the speech recognition client on the TV (see FIG. 7) will be used to handle the most popular keywords. While for viewers watching DVDs or using a DVR, the streaming feed to the server (see FIG. 6) will provide better/deeper analysis. In cases where detection of a channel or a set of specific programs is preferable, only cues will be sent to be matched on the server (see FIG. 8). The system would decide which method to use in individual cases based on criteria such as: the success rates of the various methods; customer histories and value to advertisers; and available bandwidth or computational power.

In accordance with yet another embodiment of the invention shown in FIG. 9, a system 600 comprises a server 520 that maintains a user-specific database 30 that communicates with an offline contextual targeting server 510. The offline contextual targeting server 510 receives input from the database 30 and from channel or network feeds and content feeds. It then provides information to the server 520, which communicates processed information based thereon to the connected television 10.

More specifically, the system 500 comprises a TV 10 having a widget platform 14 and a client 18; an offline server 510 on which a contextual targeting engine is running; a server 520 having an audio feed channel matching module 530 and a speech recognition contextual targeting engine 540; and a viewer database 30. The system 500 is programmed to figure out what the viewer is currently watching, which we is done using the audio stream that comes into the television 10. There are many possible TV setup possibilities and most of them “lose” the most valuable metadata sources like captions, channel information, and show descriptions. In particular, most cable box configurations connected to the TV via an HDMI cable are very poor in metadata. The audio and video feeds are the lowest common denominator and are prevalent in all setups. FIG. 9 shows the TV client 18 and the audio feed channel matching module 530 using the audio stream for detection of the channel being viewed by, e.g., detecting audio signatures. Alternatively, the TV client 18 may send pixel cues (consisting of hatches of pixel data samples) to the server 520, and the channel matching module 530 may identify the channel being viewed by processing ambiguous pixel cues using the technique disclosed in the Appendix hereto. In the particular embodiment depicted in FIG. 9, the TV client module 18 is a lightweight client for the TV operating system which will capture the audio stream from the TV, compress the signal, and stream it over the global computer network (not shown in FIG. 9) to the server 520. This audio stream has a token attached to it so that the server 520 can associate the audio stream with a particular TV/viewer.

The server 520 receives the audio stream from the TV 10, associates it with a given TV/viewer, and sends the audio stream to either the audio feed channel matching module 530 or, if that fails, to the speech recognition contextual targeting engine 540 for tagging. Once tagged with targeted content, the server 54 then sends the targeted content back to the widget 16 on the TV 10.

The server 520 comprises an audio feed channel matching module 530 that tries to match the audio feed streamed from the TV 10 to a set of several hundred known live feeds of the most popular cable channels from around the country. If a viewer is watching a known channel, they are tagged with metadata gathered by the contextual targeting engine running on the offline server 510. Those that are not are processed by the speech recognition contextual targeting engine 540. It is not necessary to monitor every possible channel from the entire country since the speech recognition targeting engine 540 serves as a backup option. In addition, since this is a continuous process, channel changing is detected and in fact increases the pool of relevant tagging by adding subject/keywords from multiple channels.

The contextual targeting engine is software running on an offline server 510. Alternatively, a plurality of offline servers can be utilized. The offline server 510 is hocked into live feeds of popular cable and network channels front around the country. These feeds can be configured to expose all of the useful metadata that is missing on the client televisions. In particular, closed captioning data, show descriptions, and channel genre power a contextual targeting engine that tags each channel with timely subject/keyword information. Since each channel has to be processed only once (instead of once per client TV), far more powerful algorithms can be run in real time. The metadata dictionary that is the product of this process is continuously refined by the actual responses of the viewers who use the widget. These responses are sent from the widget 16 to the server 520, stored in the user database 30, and sent to the offline server 510 as indicated by the arrow labeled “User Widget Feedback” in FIG. 9. Keywords that widget viewers internet with are given priority by the contextual targeting engine while those that are ignored are downgraded. The result is an ever more accurate metadata dictionary of what is currently on the TV 10.

As previously mentioned, the server 520 includes a speech recognition contextual targeting engine 540. For those viewers tuned to channels that are not recognized, playing DVDs, or using DVRs, a real-time speech recognition solution is used to extract the subject/keywords. Since speech recognition systems can only use limited dictionaries, what makes this solution practical is the fact the contextual targeting engine running on the offline server 510 is already maintaining a concise dictionary of subject/keywords that are currently prevalent in television programs and known to engage widget viewers. This system would be particularly effective for viewers using DVRs since the material playing was likely recorded in the recent past (in many cases only delayed by several hours) and was therefore already fagged in the offline process and its metadata refined by feedback from the widget. Still referring to the embodiment shown in FIG. 9, the widget 16 on the television 10 leverages the targeting done by all the other components described above and is the only part of the system that the viewer actually sees. Unlike normal Konfabulator widgets which must be periodically updated with a new look-and-feel, the contextual targeting widget 16 changes its presentation at any given time depending on the content that is being targeted.

A preferred embodiment of the present invention will now be disclosed. Although the system to be disclosed includes a connected TV having a widget engine and client software (for generating, e.g., pixel cue points) resident therein, it is within the scope of the invention to place that widget engine and client software on collocated equipment such as an STB, a DVR or a DVD player that provides television signals to the connected TV. Also, although the system to be disclosed samples end then processes pixel values, the values sampled and processed could, in the alternative, be audio values or metadata such as closed captioning.

The main components of a system in accordance with the preferred embodiment shown in FIG. 10 include a television system 52 and a first server 54 which communicate via a network, e.g., the Internet. In addition, the system comprises a second server (hereinafter referred to as an “offline server”) 56 that communicates with the first server 54 via a network, preferably a local area network (LAN).

FIG. 10 shows the functional components of interest of the television system 52, first server 54 and offline server 56. The television system 52 comprises a television having a multi-pixel screen (not shown in FIG. 10) and at least one other component (also not shown) that provides television signals to the television. For example, such other television component may comprise a STB, a DVR or a DVD player. The television system 52 further comprises a processor (not shown in FIG. 10). That processor may be incorporated in either the television or in the at least one other component of the television system.

Still referring to FIG. 10, the processor of the television system is programmed with software comprising a widget engine 58 and a client 60. Consistent with the previous statement regarding the location of the television system process, the widget engine and client software may reside on either the television or on the at least one other component of the television system. Furthermore, it should be appreciated that, in the alternative, the widget engine and the client software could run on separate processors included in the television system 52.

In either case, the client module 60 is programmed to sample pixel data and generate an HTTP request addressed to server 54 based on the sampled pixel data. That HTTP request comprises a time stamp and a plurality of strings of RGB (or hex) values, the latter being referred to herein as “a pixel cue point”. Each pixel cue point comprises a respective subset of the RGB (or hex) values making up a respective “frame” of the video segment being displayed on the television screen, as will be explained in greater detail below. [In reality, digital video does not have frames. The system disclosed herein samples at a time rate, e.g., samples every amount of time T.]

At this juncture, ft should be further noted that server 54 comprises a processor and memory, neither of which are indicated in FIG. 10). However, FIG. 10 does indicate that the server 54 has at least the following software components: a channel recognition module 62, a contextual targeting module 84 and a database 86 which comprises a library of indexed content. The channel recognition and contextual targeting modules run on the server process. The library data itself needs to be stored in a persistent yet readily available format that can be quickly searched. The simplest way to do this is to load the library into a data structure in the server memory. Another option is to store most of the library on a disk.

The channel recognition module 62 comprises a points management submodule and a user management submodule (not shown in FIG. 10). The points management submodule searches the database 66 in two ways; (1) a search of the entire library for a given set of points, returning all the suspects that are close to a match: and (2) a search for a given set of points and a given suspected location, returning whether the user is indeed where the currently stored data indicates. [A “user” is a unique TV or other device identified by a globally unique ID.]

The user management submodule keeps the user's session and uses the results from the points management submodule to match a location (in the viewed video segment) to a specific user. It also keeps configurations and tolerances used to determine when and how a match is made. The user management submodule also includes a session manager. The user management submodule matches the user's location based on an HTTP request received from the TV client module 60. If the user ID already has session data, the HTTP request is routed to the user management submodule attached to this session (session persistence). The user management submodule looks at the user's history and decides what kind of search request (if any) to make to the points management submodule. If the user's location is a suspect, the points management submodule will be called to do a brute force search around that location. If the user's location is not known, the points management submodule will be called to do a probabilistic global search. The user management submodule saves the updated location in the user's session.

As indicated by the arrow labeled “CUES” in FIG. 10, the client module 60 sends the user management submodule of the channel recognition module 62 a regular update with pixel cue information. This communication is done via the aforementioned HTTP request and the pixel cue information is sent over GET parameters.

The following is an example of one such HTTP request:

http://SERVER_NAME/index?token=TV_ID&time=5799&cueData=8-1-0, 7-0-0, 170-158-51, 134-21-16, 3-0-6, 210-210-212, 255-253-251, 3-2-0, 255-255-244, 13-0-0, 182-30-25, 106-106-40, 198-110-103, |28-5-0, 3-0-2, 100-79-2, 147-31-41, 3-0-6, 209-209-209, 175-29-19, 0-0-0, 252-249-237, 167-168-165, 176-25-17, 113-113-24, 171-27-32, |38-7-0, 2-2-2, 99-70-0, 116-21-31, 6-0-9, 210-210-210, 179-31-22, 31-31-33, 162-65-64, 10-10-10, 184-33-25, 105-108-32, 169-28-28, |104-86-15, 4-4-4, 46-18-0, 178-112- 116, 0-0-1, 213-213-213, 178-31-22, 211-211-211, 164-62-72, 0-0-0, 183- 32-24, 150-149-42, 153-27-19, |188-192-43, 2-1-6, 67-49-0, 156-92-95, 3-1-2, 215-215-215, 177-28-19, 226-233-53, 249-247-247, 207-211-21, 182-31-23, 136-153-47, 152-25-18, |192-118-109, 176-181-84, 201-201- 201, 218-172-162, 201-200-39, 226-226-226, 244-244-244, 221-214-212, 166-165-170, 209-209-209, 191-26-36, 154-28-20, 150-21-15, |0-3-0, 0-0- 0, 156-27-22, 161-28-19, 192-192-26, 157-26-22, 174-29-23, 149-23-18, 190-34-25, 156-27-20, 176-27-18, 0-0-0, 184-30-25, |159-29-19, 9-3-0, 161-26-22, 137-22-15, 0-4-9, 167-26-26, 159-28-25, 165-27-24, 65-21-13, 154-22-19, 99-24-11, 153-24-20, 185-34-28, |153-26-21, 0-0-0, 165-25-15, 141-24-13, 1-1-1, 165-25-17, 154-27-24, 182-32-26, 180-31-25, 149-25-17, 155-21-19, 36-12-4, 171-29-22, |153-26-21, 0-0-0, 165-25-15, 141-24-13, 1-1-1, 165-25-17, 154-27-24, 182-32-26, 180-31-25, 149-25-17, 155-21- 19, 36-12-4, 171-29-22, | The parameters contained in this HTTP request are as follows:

The parameter “token” is a unique Identifier for the TV (or other device). Each TV has a globally unique ID assigned by the manufacturer. This ID is sent to the user management submodule of the channel recognition module 62 shown in FIG. 10.

The parameter “time” is an arbitrary time stamp used to keep requests in order and to aid in the calculation of “the most likely location” described below. This parameter is usually provided by the TV's internal clock.

The parameter “cueData” is a list of RGB values, e.g., samples of pixel values composed of RGB combinations. The format is R1-G1-B1,R2-G2-G2 . . . |R3-G3-B3,R4-G4-B4, . . . |etc., where each RX-GX-BX indicates a respective RGB Location, RGB Location1, RGB Location2, RGB Location3, etc. form a sample, Sample1|Sample2|Sample3″etc. form the HTTP request. [In the claims appended hereto, these samples are referred to as “pixel cue points”.] The term “RGB Location” should be construed broadly enough to encompass the set of RGB values for an individual pixel identified by its X and Y coordinates, as wall as a set of RGB values which is a function of the RGB values for a plurality of individual pixels in an array (e.g., a square array). In the latter case, the collection of Individual sets of RGB values for all of the pixels in the array is referred to as “PatchData”. The array of pixels will be located in a given area (e.g., a square area) on the television screen.

In the foregoing example, the cueData parameter of the HTTP request has 10 samples, one sample per video frame, each sample consisting of the RGB values for 13 pixels or 13 pixel arrays, the same pixels or pixel arrays being acquired for each of the ten frames. However, the number of pixel values for each frame, the location of pixels sampled, and the number of samples in the HTTP request can be varied in accordance with point sampling instructions received by the TV client component.

In accordance with the embodiment depicted in FIG. 10, the television system 52 has a system level function that extracts the pixel information. This function wakes up periodically, e.g., every 0.1 second, and extracts pixel data from N patches for each “fame” of pixel data, where N is a positive integer (e.g., 13). The pixel data from each patch is reduced to a single pixel sample, i.e., a single set of RGB values, which single pixel sample is a function of the pixel data in a respective patch. That function may be averaging, weighted averaging or any other suitable function. The pixel samples for a succession of “frames” (e.g., 10) are accumulated and then sent to the server. For example, the TV client sends a hatch of pixel samples to the server periodically, e.g., every 1.0 second.

An exemplary API specification file (written in the C computer language) is presented below. This API is part of the TV client module 60, which software runs on a chip set incorporated in the television system. The specific functions defined in the following API specification are implemented by that chip set.

/*  * TVCaptureAPI,h  * */ #ifndef TVCAPTUREAPI_H_ #define TVCAPTUREAPI_H_   /**    * A class holding a single pixel    * The pixel can be saved either as an RGB combination or as the hex value,    *    */   typedef struct pixel {     int red;     int green;     int blue;     long hexValue;   } Pixel;   /**    * A class representing a rectangular patch of the video plane    * The rectangle is defined by its top left and bottom right corners    */   typedef struct patch {     int topLeftX, topLeftY;     int bottomRightX, bottomRightY;   } Patch   /**    * A class holding a snapshot in time of the pixel data for a patch    * pixelData is an array of pixels starting from the top left corner and going down row by row    * numOfPixels is clearly just for convenience since it is derived from the left and right corners    */   typedef struct patchData {     int topLeftX, topLeftY;     int bottomRightX, bottomRightY;     int numOfPixels;     Pixel* pixelData;   } PatchData;   /**    * Returns an array of PatchData objects for the requested patches    * Each patchData contains a snapshot of the pixel data for that patch on the video plane at that moment.    *    * @param: requestedPatches  an array of patches for which you want to get back data.    * @return:  an array of data corresponding to the requested patches.    */   PatchData* getPatchesFromVideo(Patch *requestedPatches, int numOfPatches);   /**    * Cleans up the patchData created by getPatchesFromVideo    * You MUST call a cleanup every time you call getPatchesFromVideo    *    * @param; o the pointer to the PatchData that was returned by getPatchesFromVideo    * @param: numOfPatches the number of patches    */   void freePatchData(PatchData* o, int numOfPatches);   /**    * Returns the dimension of a patch covering the entire video plane (i.e. , a fancy way of saying the dimensions of the video). Note that this may not be just the screen size depending on where in the pipeline the video is captured since video can be stretched to fit etc.    *    * @param ret a pointer to the return object. This will get populated with a patch object whose top left corner is 0, 0 and whose bottom left corner is the bottom left of the video    *    * @return 0 if success. −1 if failed.    */   int getVideoDimensions(Patch *ret);   /**    * Returns a unique ID for this device. This will be used to share metadata extracted for this TV with any equipped widget running on the TV.    *    * @param: buff the return string buffer.    * @param: max_len the maximum length of the ID    *    * @return: the number of characters in the ID if successful.    * If the ID had to get truncated, a negative value of the actual number of characters is returned.    *    */   int getTVID{char* buff, int max_len}; #endif /* TVCAPTUREAPI_H_ */

The API file includes declarations of three data structures of interest: “Patch”, “PatchData” and “Pixel”. The pixels in the television screen are arranged in an X, Y plane, each pixel being identified by its X and Y coordinates, A “Pixel” is composed of three integers (e.g., RGB values), [Alternatively, the declarations can be populated by hex values.] A “Patch” is the coordinates of a square on the TV screen, each square including an array of pixels. The term “PatchData” is a collection of “Pixels” in a given square on the screen. One note on syntax; in the C language, the term “Pixel*” means a collection of “Pixel”, So the line “Pixel* pixalData;” means a collection of “Pixel” arbitrarily named “pixelData”. The function:

PatchData* getPatchesFromVideo(Patch ″requestedPatches, int numOf Patches); Is implemented by a chip set inside the television system and means the function “getPatchesFromVideo” returns a collection of “PatchData”.

Referring again to FIG. 10, in accordance with a preferred embodiment the TV client module 60 is programmed to acquire the RGB values for each pixel included in each array (i.e., Patch). The collection of RGB values for each pixel array or Patch are then processed to generate a respective set of RGB values for each pixel array or Patch. In other words, in the case of a 3×3 pixel array, the collection of nine sets of RGB values is reduced to a single set of RGB values. Many different mathematical functions can be utilized to perform this operation, e.g., averaging or weighted averaging. The HTTP request sent by the TV client 60 to the channel recognition module 62 in the server 54 will include a single set of RGB values (i.e., three integers) for each Patch and will not include all of the PatchData for each Patch.

The TV client module 60 is an embedded piece of code that gets “baked” onto a chip of the TV or other device and sends the captured points to the user management submodule of the channel recognition module 62. The TV client module can be updated in the field with firmware updates. In accordance with one embodiment, the TV client module 60 requests instructions from the server 54 periodically to determine the number of points to sample, the frequency, the locations, etc. The TV client module need not send the server points at the same rate that it samples them. In accordance with one embodiment, the TV client module samples about 10 times per second and batches up the resulting points, sending them to the server every second or so. The TV client module needs to know which component of the user management sub-module has its sessions. During initialization (and periodically thereafter), the TV client module calls the user management session manager to get an address of a user management component. The user management component assigned to a given TV or other device keeps that user's session information. In oases where the assigned user management component is not available (e.g., if it crashed), the session manager assigns a new user management component. The TV client module also needs an arbitrary time stamp to keep Its requests in order and give positioning information to the associated component of the points management submodule.

In response to receipt of the HTTP request from the client module 10, the channel recognition module 62 identifies in real time what video segment the cueData in the HTTP request is taken from and in what time offset from the starting time of the segment. As previously mentioned, the segment and offset together are referred to as the “location”. The points management submodule of the channel recognition module 62 uses a path pursuit algorithm that searches the database 66 for those pixel cue points stored in the database which are nearest to the pixel cue points received in the HTTP request. This is accomplished in the manner which is described in detail in the Appendix entitled “The Path Pursuit Problem: Tracking Video Transmission Using Ambiguous Cues,” the entire contents of which are incorporated by reference herein. The double-headed arrow labeled PPLEB in FIG. 10 indicates that the points management submodule of the channel recognition module communicates with the database 16 while performing the path pursuit algorithm, which comprises an algorithm named Probabilistic Point Location in Equal Balls (PPLEB) and an efficient likelihood update algorithm. The Appendix explains the methodology for identifying the most likely “location” in detail, including mathematical equations. The following more succinct explanation of the search methodology is also provided.

The path pursuit algorithm disclosed in the Appendix uses a mathematical construct called locality sensitive hashing. In the prior art, it was known to map each point in a data set to a word, which is a list of its hash values. These words were placed in a sorted dictionary (much like a common English dictionary). When a point was searched, the algorithm first constructed its word and then returned its closest lexicographical match in the dictionary. This required computing each letter in the word separately and performing a dictionary search. In the version disclosed in the Appendix, fixed length words (depending only on the norm of the point vector) are constructed and then the points management submodule of the channel recognition module looks in the dictionary only for exact word matches. This has two advantages. First, computing the word corresponding to a point can be done in batch, more efficiently than letter by letter. Second, the dictionary search is made faster and simpler using traditional hash functions instead of a dictionary.

It should be appreciated that the search for the location (i.e., video segment plus time offset) seeks the most likely suspects. The path pursuit algorithm first finds the suspect locations and then computes a probability distribution for those suspects. More specifically, each suspect location is assigned a probability indicating the likelihood that it matches the video segment being displayed on the television screen. If the probability for suspect locations having the greatest probability exceeds a preset threshold, then the decision is made that the suspect location corresponds to the video segment being displayed. Otherwise the path pursuit algorithm continues to update the list of suspect locations and their probability distribution as successive received pixel cue data points are processed.

The path pursuit algorithm is a probabilistic approach: an exact matching of pixel cue points at all times is not needed. Instead the decision that the result is true is made based on the aggregated evidence. The algorithm tracks in real time all of the time and is able to handle intermittent pixel cue points in a sequence that deviate from the other pixel data points in that sequence. For example, the algorithm may only recognize 7 out of 10 frames of a video segment, but is still able to identify the most likely location. The algorithm also responds quickly to the television viewer pausing, changing channels, etc.

Upon receipt of a first pixel cue point from the television system, the server computes a probability distribution for all suspect locations. Upon the receipt of each subsequent pixel cue point from the same television system, the list of suspect locations is updated and an updated probability distribution is computed for those updated suspect locations. This iterative process continues in real time at all times, allowing the viewing habits of the user to be closely monitored. Each pixel cue point received from the television is discarded after it has been processed. The history of the suspect locations and their probability distributions is retained in memory for each user session. However, if a particular suspect location becomes less likely (e.g., has a probability below a preset lower threshold), then that suspect location can be ignored, i.e., deleted from the stored history.

It should be further noted that it would be inefficient to search the entire pixel cue library for every television system. To increase search efficiency, the pixel cue data in the database is divided into sections. The search for nearest neighbors is conducted in only one section. Further details concerning this aspect can be found in the Appendix.

Once the most likely location in the database is identified, content stored in the database in association with that location can be retrieved by the contextual targeting module 64 (see FIG. 10). In accordance with the preferred embodiment, by the contextual targeting module 64 receives the program ID and the time offset of the most likely suspect location (i.e., the suspect location having the greatest probability provided that probability exceeds a threshold for success which is presettable) from the channel recognition module 62 and then uses that information to retrieve the associated enhanced content from the database 66. The database contains closed captioning for the video segments whose identifiers and pixel cue points are stored therein. The database also contains an encyclopedia of content consisting of triggers (i.e., single words or short sequences of words and proper nouns that refer to specific subjects relatively unambiguously) extracted from documents and respective content associated with each trigger. The encyclopedia is an index of structured content data, preferably organized by categories. The contextual targeting module comprises a search engine that searches the closed captions (stored in the database) associated with the identified location and then identifies any triggers in the relevant closed captioning. This is indicated in FIG. 10 by the arrow labeled “Trigger Search”. The contextual targeting module then retrieves the content associated with those identified triggers from the encyclopedia in the database. Trigger sets as well as search configurations are customized to specific items of content (i.e. specific television shows, commercials, or movies). For example basketball games are identified as such and the contextual targeting module uses a trigger set comprising names of players/coaches etc. In another example, news and current events shows are configured to use a trigger set that emphasizes politicians' names and current event buzzwords (i.e., “healthcare”). In another example, drama shows and sitcoms are configured to use a trigger set that is composed of arbitrary combinations of words and timestamps meant to trigger events on a given location in the plot without relevance to the subject of the dialog (e.g., an event corresponding to a song which starts playing after a specific point in the plot).

The database 66 is constructed by the offline server 56 (see FIG. 10) which receives channel/network feeds and content feeds. The database is constantly updated as the feeds are received by the offline server.

In accordance with the preferred embodiment, the offline server 56 extracts time stamps, pixel cue points and closed captioning from the channel/network feeds. That extracted information is stored as part of the database 66. More specifically, the database contains the following information for each television program, commercial or other broadcast or video segment: (a) a list of pixel cue points for each video segment; (b) offsets from some fixed point in time, which offsets are respectively associated with the aforementioned pixel cue points, thereby indicating the sequence in time when those pixel cue points occur; and (3) associated metadata (e.g., closed captioning). Preferably the offline server samples the pixel data at the same rate as does the client of the television system. However, it is not necessary that the two machines, when sampling the same video segment, sample at precisely the instances in time.

The offline server 56 also extracts triggers and content from the content feeds. That extracted information, when stored in memory, form the aforementioned encyclopedia which is also part of the database 16. The offline server can also create a customized index tor a particular television program.

The offline server 56 may have resident thereon a master source module which indexes content and adds it to the library (i.e., database 66) that the points management submodule searches over. The components of this module are collections of emulators very similar to the TV client components except that they are able to run in Master mode. This mode sends points to the points management submodule is the same way as the standard mode but with metadata attached and with instructions to the points management submodule to add these points to the library instead of searching on them. The master source module operates in any of four modes: (1) Batch; (2) Live; (3) Channel; and (4) UGC. In the Batch mode, content arrives as complete video files well in advance of the “air date.” The TV client emulator plays the video files in Master mode, which sends the points to the points management submodule to be added to the library. In the Live mode, a specific live event is set up to be indexed (e.g., a basketball game). A stream is arranged ahead of time to be used to index this content and attached to one of the emulators running in the Master mode. In the Channel mode, an emulator is set up to continuously view and index a given channel. The content comes over the public distribution networks, usually through an STB. A server with a capture card is set up to get the content from the STB and run the emulator. Access to an electronic program guide is also necessary to identify the shows being indexed. In the UGC mode, the TV client module on a given TV or other device can act in the Master mode to add content to the library that the device is currently watching. The master source module also contains a simple database where basic content metadata (name, channel, etc.) are tagged to a unique content ID. This database just lists the content being indexed.

Referring again to FIG. 10, the contextual targeting module 64 is a user-facing application software that targets contents from a pre-defined repository on the closed captions stream for the current piece of content being watched. This module relies on the user management and points management submodules and the master source module to operate since its ability to retrieve the relevant closed captioning information is clearly dependent on correct content defection.

Mote specifically, the contextual targeting module 64 sends retrieved content to the particular widget running on the widget engine 58 of the television system 52 in response to a request from that widget. More specifically, the widget running on the TVs widget engine (or any other GUI on the TV) sends the server 54 a request for show information, metadata, and contextual targeted content on a regular basis. The specifics of the request depends on the specific functionality required by the TV application software. The following are some examples of responses from the server.

The first response is an example response from the server for a request for contextually targeted content based on closed captions:

{″createdOn″: ″Sun Nov 22 11:38:40 2009″, ″token″: ″TV_ID″, ″channel″: ″The Colbert Report Tue May 19 2009″, ″channelTime″; ″34951″, ″myContent″: {  {   ″searchKey″: ″Walter_Kirn″,   ″displayName″: ″Walter Kirn″,   ″matchFactor″: 3.2706767671099999e-06,   ″foundIn″: ″THEN MY GUEST WALTER KIRN SAYS ″,   ″engineName″: ″triggerSearch″,   ″rank″: 3.2706767671099999e-06,   ″matchedText″: ″walter kirn″  },  {   ″searchKey″: ″Sammy Hagar″,   ″displayName″: ″Sammy Hagar″,   ″matchFactor″: 3.6402208460499996e-05,   ″foundIn″: ″SCOFFLAW SINCE SAMMY HAGAR ″,   ″engineName″: ″triggerSearch″,   ″rank″: 3.6402208460499996e-05,   ″matchedText″: ″sammy hagar″  },  {   ″searchKey″: ″Republican_Party_%28United_States%29″,   ″displayName″: ″ Republican Party (United States) ″,   ″matchFactor″: 0.0001940746083739999,   ″foundIn″: ″REPUBLICANS HAVE FOUND A WAY TO ″,   ″engineName″: ″triggerSearch″,   ″rank″: 0.0001940746083739999,   ″matchedText″: ″republicans″  }, } } The parameters contained in this first exemplary response to the HTTP request are as follows:

The parameter “createdOn” is a timestamp of the date/time the user session was created. This parameter is used for keeping track of how long the user is watching TV.

The parameter “token” is the same unique identifier for the TV previously described herein. This ID is used to tie the Channel Recognition component with the Contextual Targeting component.

The parameter “channel” identifies the program being watched by name and broadcast date.

The parameter “channelTime” is the playing time (in milliseconds) into the piece of recognized content. The terms “playing time” and “offset time” are used interchangeably herein and are intended to have the same meaning.

The parameter “myContent” is a list of content targeted for this location in the show based on closed captions. Three exemplary content items have been included under this parameter. The parameters for each content Item are as fellows: “searchKey” is a unique identifier for the particular content item; “displayName” is a title for the particular content item; “founding” is the line of closed captioning that matched the particular content item; “engineName” is the internal search engine used (a selected one of a plurality of search engines with different algorithms, optimized for different kinds of shows, can be utilized); and “matchedText” is the specific text in the closed caption stream that triggered the search engine match for the particular content item.

What follows is an exemplary response from the server for a request for contextually targeted content from a custom index for a specific show:

{  ″widget″: ″CNN″,  ″myContent″: [   {    ″searchKey″:″/2008/07/08/the-us-christian-military/″,    ″byLine″: ″Randi Kaye - AC360 Correspondent″,    ″displayName″: ″The U.S. Christian military?″,    ″startTime″: 290000,    ″images″: [ ″/assets/art_soldiers_pray.jpg″    ],    ″engineName″: ″AC360timeSearch″,    ″abstract″: ″Is the United States Military becoming a Chrisitian organization? That's what one U.S. soldier tells us. I met Army Specialist Jeremy Hall in Kansas City a few weeks ago. He's based at Fort Riley, in Junction City, ... this isn't happening?″,    ″endTime″: 100000000,    ″publishDate″: ″7/8/2009″   },   {   ″searchKey″: ″/2009/11/10/armygains-with-muslim-soldiers- may-be-lost/″,    ″byLine″: ″Mark Thompson - Time″,    ″displayName″: ″Army gains with Muslim soldiers may be lost″,    ″startTime″: 290000,    ″image″: [ ″fort.hood.shootings/story.memorial.mon.gi.jpg″   ],    ″engineName″: ″AC360timeSearch″,    ″abstract″: ″Less than 1% of America's 1.4 million troops are Muslim - and that number is only the military's best guess, since just 4,000 troops have declared ... may be impossible. Hasan is in intensive care at a San Antonio hospital, breathing without a respirator. But given his mental state, even he may not know what caused him to kill.″,    ″endTime″: 100000000,    ″publishDate″: ″11/10/2009″   },   {   ″searchKey″:″/2009/11/09/murderhas-no-religion/″,    ″byLine″: ″Arsaian Iftikhar - AC360 Contributor″,    ″displayName″: ″Murder has no religion″,    ″startTime″: 115000,    ″images″: [ ″/art.prayer.02.cnn.jpg″   ],    ″engineName″: ″AC360timeSearch″,    ″abstract″: ″Most of the world's 1.57 billion Muslims know that the Holy Quran states quite clearly that, \″Anyone who kills a human being ... it shall be as though ... act of mass murder no more makes their criminal act \″Islamic\″ than a Christian uttering the \″Hail Mary\″ while murdering an abortion medical provider, or someone chanting \″Onward, Christian Soldiers\″ while bombing a gay nightclub, would make their act \″Christian\″ in nature.″,    ″endTime″: 100000000,    ″publishDate″: ″11/9/2009″ The parameters contained in this second exemplary response to the HTTP request are as follows:

The parameter “widget” is the ID of the custom application software using this data source.

The parameter “myContent” is a list of content targeted for this location in the show based on closed captions and other metadata.

The parameter “searchKey” is a unique identifier for this content.

The parameters “startTime” and “endTime” limit a particular content item to specific areas of the show.

The parameter “engineName” is the internal search engine used (in this case it is a CNN specific search engine that uses an index composed of Anderson Cooper blog entries).

The parameters “byline”, “images”, “abstract” and “publishDate” are content for display to the user.

In accordance with one method for providing contextually targeted content to the television system 52 of the system shown in FIG. 10, the server 54 performs the following stops: (a) storing a respective data set for each of a multiplicity of video segments, each data set comprising data identifying a respective video segment, data points extracted from television signals for the respective video segment, and associated offset time data indicating the respective sequence in time of the data points extracted from the television signals for the respective video segment; (b) receiving data points from the television system 52 during display of a video segment on the screen; (c) retrieving from the database identifying data and offset time data associated with the data points that best matches the received data points, wherein the identifying data and the offset time data, in combination, identify which portion of the video segment is being displayed on the screen; (d) retrieving from the database content associated with the identified portion of the video segment being displayed on the screen when a threshold likelihood of successful identification is attained or exceeded; and (e) sending the retrieved content to the television system 52.

In accordance with the embodiment depicted in FIG. 10, the database 66 stores pixel cue points and content for a multiplicity of video segments, while the server 54 is programmed to perform the following steps: (a) determining which pixel cue points stored in the database are possible matches to pixel cue points received from a television system 52 via a network; (b) computing a probability distribution for the pixel cue points determined in step (a); (c) retrieving from the database a program identifier and a playing time associated with the pixel cue points determined to have a greatest probability of matching the pixel cue points received from the television system; (d) retrieving from the database content associated with the program identifier and the playing time retrieved in step (c); and (e) sending the content to the television system via the network.

Further, in accordance with a further aspect of the embodiment depicted in FIG. 10, television system 52 comprises a multi-pixel screen and a processor system, the processor system comprising a widget engine and a separate client programmed to generate a request comprising pixel cue points, each pixel cue point comprising a set of pixel values displayed in a predetermined set of pixels of the screen at a respective time, the predetermined set of pixels being a subset of the total number of pixels of the screen.

In accordance with yet another aspect of the embodiment depicted in FIG. 10, the system comprises a network, a server 54 connected to the network, and a television system 52 connected to the network. The television system 52 comprises a multi-pixel screen and a processor system, the processor system in turn comprising a widget engine and a client programmed to send a request addressed to the server and comprising pixel cue points. The server 54 comprises a database 66 for storing pixel cue points and content for a multiplicity of video segments, and a processor system programmed to perform the following steps: (a) determining which pixel cue points stored in the database 66 are possible matches to the pixel cue points received from the television system 52 via the network; (b) computing a probability distribution for the pixel cue points determined in step (a); (c) retrieving from the database 66 a program identifier and a playing time associated with the pixel cue points determined to have a greatest probability of matching the pixel cue points received from the television system 52 via the network; (d) retrieving from the database 66 content associated with the program identifier and the playing time retrieved in step (c); and (e) sending the content to the television system 52 via the network.

In accordance with another method for automatically processing pixel values of a video segment displayed on the multi-pixel screen of television system 52 of the system shown in FIG. 10, the server 54 performs the following steps; (a) storing a respective data set for each of a multiplicity of video segments, each data set composing data identifying a respective video segment and pixel cue points extracted from the respective video segment, and each pixel cue point comprising a respective subset of a respective set of pixel values making up a respective frame of the respective video segment; (b) receiving pixel cue points from the television system 52 during display of a video segment on the multi-pixel screen; (c) determining which pixel cue points in the database are possible matches to the received pixel cue points; (d) computing a probability distribution for the pixel cue points determined in step (c); and (e) retrieving from the database 66 identifying data associated with the pixel cue points determined to have a greatest probability of matching the received pixel cue points, wherein the identifying data identifies the video segment being displayed on the multi-pixel screen of the television system 52.

To carry out the method described in the preceding paragraph, the server 54 may further comprise a metrics software module (not shown in FIG. 10) that collects matching information from the user management module and saves that matching information in the database 66 for later report generation. The purpose of the metrics module is to not only provide useful data on how the system is operating, but also to create added-value reports that can be sold to businesses that require knowledge of viewer viewing habits. In accordance with one embodiment, the metrics data is sent to an aggregator/sink so that it can be cached and dumped to the database asynchronously. The raw metrics data is saved in the database. That raw metrics data is then processed for inclusion in various reports, such reports on the number of users who watch a given show, the number of users who watch a given show in time shift (e.g., on a DVR), and the number of users who watch a given commercial.

While the invention has been described with reference to various embodiments. It will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation to the teachings of the invention without departing from the essential scope thereof. Therefore it is intended that the invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention.

As used in the claims, the term “a processor system” should be construed broadly to encompass either a single processor or more than one processor. Also, the designation of method steps using alphabetic symbols should not be construed to require that those method steps be performed in alphabetical order. 

The invention claimed is:
 1. A computing device comprising: one or more processors; and a non-transitory machine-readable storage medium containing instructions which when executed on the one or more processors, cause the one or more processors to perform operations including: receive a pixel cue point, wherein the pixel cue point represents a frame of a video segment, wherein the received pixel cue point includes a set of pixel values corresponding to the frame of the video segment, and wherein the frame of the video segment is being presented by a media system; obtain a probability for an identified video segment, wherein the probability indicates a likelihood that the identified video segment is being presented by the media system; match one or more stored pixel cue points to the received pixel cue point, wherein a stored pixel cue point includes a set of pixel values associated with a frame of the identified video segment, and wherein matching includes comparing the set of pixel values corresponding to the frame with the set of pixel values corresponding to the identified video segment; update the probability for the identified video segment when a stored pixel cue point associated with a frame of the identified video segment is matched with the received pixel cue point; compare the probability for the identified video segment to a probability threshold; determine the identified video segment is being presented by the media system when the probability is above the probability threshold; and cause the media system to present additional content with the video segment being presented by the media system, wherein the additional content is contextually related to the identified video segment.
 2. The computing device of claim 1, further comprising instructions which when executed on the one or more processors, cause the one or more processors to perform operations including: receive an additional pixel cue point, wherein the received additional pixel cue point includes a set of pixel values corresponding to an additional frame in the video segment, and wherein the additional frame is being presented by the media system; and update the probability when the received additional pixel cue point is matched to one or more additional stored pixel cue points, wherein an additional stored pixel cue point includes a set of pixel values corresponding to the identified video segment.
 3. The computing device of claim 1, further comprising instructions which when executed on the one or more processors, cause the one or more processors to perform operations including: discount the probability for time.
 4. The computing device of claim 1, wherein the received pixel cue point includes an average value of a patch of pixel data, wherein the patch of pixel data includes an array of pixel values extracted from the frame of the video segment.
 5. The computing device of claim 1, further comprising instructions which when executed on the one or more processors, cause the one or more processors to perform operations including: determine content associated with the identified video segment; retrieve the content from a database; and transmit the retrieved content, wherein the retrieved content is addressed to the media system.
 6. The computing device of claim 1, wherein updating the probability for the identified video segment uses the probability before the update.
 7. A computer-implemented method comprising: receiving a pixel cue point, wherein the pixel cue point represents a frame of a video segment, wherein the received pixel cue point includes a set of pixel values corresponding to the frame of the video segment, and wherein the frame of the video segment is being presented by a media system; obtaining a probability for an identified video segment, wherein the probability indicates a likelihood that the identified video segment is being presented by the media system; matching one or more stored pixel cue points to the received pixel cue point, wherein a stored pixel cue point includes a set of pixel values associated with a frame of the identified video segment, and wherein matching includes comparing the set of pixel values corresponding to the frame with the set of pixel values corresponding to the identified video segment; updating the probability for the identified video segment when a stored pixel cue point associated with a frame of the identified video segment is matched with the received pixel cue point; comparing the probability for the identified video segment to a probability threshold; determining the identified video segment is being presented by the media system when the probability is above the probability threshold; and causing the media system to present additional content with the video segment being presented by the media system, wherein the additional content is contextually related to the identified video segment.
 8. The computer-implemented method of claim 7, further comprising: receiving an additional pixel cue point, wherein the received additional pixel cue point includes a set of pixel values corresponding to an additional frame in the video segment, and wherein the additional frame is being presented by the media system; and updating the probability when the received additional pixel cue point is matched to one or more additional stored pixel cue points, wherein an additional stored pixel cue point includes a set of pixel values corresponding to the identified video segment.
 9. The computer-implemented method of claim 7, further comprising: discounting the probability for time.
 10. The computing device of claim 7, wherein the received pixel cue point includes an average value of a patch of pixel data, wherein the patch of pixel data includes an array of pixel values extracted from the frame of the video segment.
 11. The computer-implemented method of claim 7, further comprising: determining the additional content; retrieving the additional content from a database; and transmitting the retrieved content, wherein the retrieved content is addressed to the media system.
 12. The computer-implemented method of claim 7, wherein updating the probability for the identified video segment uses the probability before the update.
 13. A computer-program product tangibly embodied in a non-transitory machine-readable storage medium of a computing device, including instructions configured to cause one or more data processors to: receive a pixel cue point, wherein the pixel cue point represents a frame of a video segment, wherein the received pixel cue point includes a set of pixel values corresponding to the frame of the video segment, and wherein the frame of the video segment is being presented by a media system; obtain a probability for an identified video segment, wherein the probability indicates a likelihood that the identified video segment is being presented by the media system; match one or more stored pixel cue points to the received pixel cue point, wherein a stored pixel cue point includes a set of pixel values associated with a frame of the identified video segment, and wherein matching includes comparing the set of pixel values corresponding to the frame with the set of pixel values corresponding to the identified video segment; update the probability for the identified video segment when a stored pixel cue point associated with a frame of the identified video segment is matched with the received pixel cue point; compare the probability for the identified video segment to a probability threshold; determine the identified video segment is being presented by the media system when the probability is above the probability threshold; and cause the media system to present additional content with the video segment being presented by the media system, wherein the additional content is contextually related to the identified video segment.
 14. The computer-program product of claim 13, instructions configured to cause one or more data processors to: receive an additional pixel cue point, wherein the received additional pixel cue point includes a set of pixel values corresponding to an additional frame in the video segment, and wherein the additional frame is being presented by the media system; and update the probability when the received additional pixel cue point is matched to one or more additional stored pixel cue points, wherein an additional stored pixel cue point includes a set of pixel values corresponding to the identified video segment.
 15. The computer-program product of claim 13, instructions configured to cause one or more data processors to: discount the probability for time.
 16. The computer-program product of claim 13, wherein the received pixel cue point includes an average value of a patch of pixel data, wherein the patch of pixel data includes an array of pixel values extracted from the frame of the video segment.
 17. The computer-program product of claim 13, further comprising instructions which when executed on the one or more processors, cause the one or more processors to perform operations including: determine content associated with the identified video segment; retrieve the content from a database; and transmit the retrieved content, wherein the retrieved content is addressed to the media system.
 18. The computing device of claim 1, wherein the additional content is stored remote from the media system.
 19. The computing device of claim 1, wherein the identified segment includes a plurality of frames. 